export interface ResponseData {
  code: number
  message: string
  ok: boolean
}
export interface SkuResponseData extends ResponseData {
  data: {
    records: SkuData[]
    total: number
    size: number
    current: number
    pages: number
    searchCount: boolean
  }
}
export interface SkuData {
  id?: number | string
  category3Id?: number | string
  spuId?: number | string
  tmId?: number | string
  skuName: string
  price: number | string
  weight: number | string
  skuDesc: string
  skuAttrValueList?: SkuAttr[]
  skuSaleAttrValueList?: SkuSaleAttr[]
  skuDefaultImg?: string
  isSale?: number // 是否上架 0-下架 1-上架
}
export interface SkuAttr {
  attrId: number | string
  valueId: string | number
  valueName?: string
}

export interface SkuSaleAttr {
  saleAttrId: number | string
  saleAttrValueId: string | number
  saleAttrValueName?: string
}
